﻿// See https://aka.ms/new-console-template for more information

//using ScanCode;




using ScanCode;

Console.WriteLine("Hello, World!");

var filePath = "C:\\Img\\2.jpg";
var symbols = BarCode.ScanBarCode(filePath);
symbols.ForEach(s => Console.WriteLine($"条码类型:{s.SymbolType} 条码内容:{s.Data} 条码质量:{s.Quality}"));


//var symbolsv = BarCode.ScanBarCode("E:\\Img\\2.jpg");
//symbolsv.ForEach(s => Console.WriteLine($"条码类型:{s.SymbolType} 条码内容:{s.Data} 条码质量:{s.Quality}"));

Console.ReadKey();